package com.zhengshang.common.constant.app;

/**
 * @author HY
 * @version 1.0.0
 * @ClassName Constant.java
 * @Description TODO
 * @createTime 2021年03月12日 17:28
 */
public class AppConstant {

    /**
     * 默认父级账户
     */
    public static final String DEFAULT_PARENT_ACCOUNT = "17603918458";

    /**
     * 订单号前缀（加油）
     */
    public static final String ORDERNUM_PREFIX_GAS = "PY";

    /**
     * 订单号前缀（话费）
     */
    public static final String ORDERNUM_PREFIX_BILL = "PB";
    /**
     * 订单号前缀（微客云）
     */
    public static final String ORDERNUM_PREFIX_THIRD = "WKY";
    /**
     * 订单号前缀（油卡）
     */
    public static final String ORDERNUM_PREFIX_OILCARD = "OIL";

    /**
     * 订单号前缀（生活缴费）
     */
    public static final String ORDERNUM_PREFIX_PC = "PC";

    /**
     * 订单号前缀（星级会员）
     */
    public static final String ORDERNUM_PREFIX_MEMBER = "PM";

    /**
     * 订单号前缀（VIP会员）
     */
    public static final String ORDERNUM_PREFIX_VIP = "PV";

    /**
     * 订单号前缀（广告编号）
     */
    public static final String ORDERNUM_PREFIX_ADVERTISEMENT = "PA";

    /**
     * 星级会员价格
     */
    public static final String MEM_MEMBER = "19.9";

    /**
     * VIP会员价格
     */
    public static final String MEM_VIP = "499";

    /**
     * 增加
     */
    public static final String BALANCE_ADD = "1";

    /**
     * 减少
     */
    public static final String BALANCE_REDUCE = "2";

    /**
     * 余额变更来源：签到
     */
    public static final String MODIFY_SOURCE_SIGNIN = "1";

    /**
     * 余额变更来源：连续签到（暂不使用）
     */
    public static final String MODIFY_SOURCE_CONTINUITY_SIGNIN = "2";

    /**
     * 余额变更来源：福利社提现
     */
    public static final String MODIFY_SOURCE_FULISHE = "3";

    /**
     * 余额变更来源：提现申请
     */
    public static final String MODIFY_SOURCE_WITHDRAWAL_APPLY = "4";

    /**
     * 余额变更来源：提现驳回
     */
    public static final String MODIFY_SOURCE_WITHDRAWAL_REJECT = "5";

    /**
     * 余额变更来源：下级会员收益
     */
    public static final String MODIFY_SOURCE_WITHDRAWAL_LOWER = "6";

    /**
     * 余额变更来源：下下级会员收益
     */
    public static final String MODIFY_SOURCE_WITHDRAWAL_LOWER_LOWER = "7";

    /**
     * 余额变更来源：合伙人升星奖励
     */
    public static final String MODIFY_SOURCE_PARTNER_REWARD = "8";

    /**
     * 余额变更来源：合伙人贡献值超20000后的奖励
     */
    public static final String MODIFY_SOURCE_PARTNER_MAX_REWARD = "9";

    /**
     * 余额变更来源：升级VIP时佣金解冻
     */
    public static final String MODIFY_SOURCE_COMMISSION_THAW = "10";

    /**
     * 余额变更来源：话费充值失败
     */
    public static final String MODIFY_SOURCE_PHONEBILL_FAIL = "11";



    /**
     * 支付宝网关
     */
//    public static final String ALIPAY_SERVER_URL = "https://www.youhuiniuapp.com/api";
    public static final String ALIPAY_SERVER_URL = "https://openapi.alipay.com/gateway.do";

    /**
     * 支付宝/微信支付订单超时时间（商户服务器轮询使用）
     */
    public static final int PAY_ORDER_OVERTIME = 30 * 60;

    /**
     * 支付宝支付订单超时时间（支付宝官方使用）
     */
    public static final String PAY_ORDER_OVERTIME_ALIPAY = "30m";



    /**
     * 违章查询请求key
     */
    public static final String JHDATA_VIOLATION_KEY = "a607c174ea9bbe8a205ff50a11c6fadd";

    /**
     * 根据车牌前缀获取城市参数
     */
    public static final String JHDATA_VIOLATION_CARPRE_URL = "http://v.juhe.cn/wz/carPre";

    /**
     * 违章查询url
     */
    public static final String JHDATA_VIOLATION_QUERY_URL = "http://v.juhe.cn/wz/query";

    /**
     * 话费充值（AppKey）
     */
    public static final String JHDATA_TELCHECK_MOBILE_KEY = "4f9bde3b6ca0a6b9baf3bd70b41d8e13";

    /**
     * 话费充值（检测手机号码是否能充值）
     */
    public static final String JHDATA_TELCHECK_MOBILE_QUERY_URL = "http://op.tianjurenhe.com/ofpay/mobile/telcheck";

    /**
     * 话费充值
     */
    public static final String JHDATA_TELCHECK_MOBILE_URL = "http://op.tianjurenhe.com/ofpay/mobile/onlineorder";

    /**
     * 加油app_key
     */
    public static final String GAS_APP_KEY = "appm_api_h599997557";

    /**
     * 加油app_secret
     */
    public static final String GAS_APP_SECRET = "a5e180e91464c88ac2f53cf8045ee204";

    /**
     * 加油channelId
     */
    public static final String GAS_CHANNEL_ID = "99997557";

    /**
     * 初始化油站数据接口
     */
    public static final String GAS_QUERY_GASINFOLIST_OILNONEW_URL = "https://mcs.czb365.com/services/v3/gas/queryGasInfoListOilNoNew";

    /**
     * 查询油站状态油价接口
     */
    public static final String GAS_QUERY_PRICE_BY_PHONE_URL = "https://mcs.czb365.com/services/v3/gas/queryPriceByPhone";

    /**
     * 平台授权登录
     */
    public static final String GAS_PLATFORM_LOGIN_SIMPLEAPP_V4_URL = "https://mcs.czb365.com/services/v3/begin/platformLoginSimpleAppV4";

    /**
     * 油站品牌数据接口
     */
    public static final String GAS_BRAND_TYPE_URL = "https://mcs.czb365.com/services/v3/gasws/gasBrand";

    /**
     * 查询用户的优惠券接口
     */
    public static final String GAS_COUPONS_WITHPAGE_URL = "https://mcs.czb365.com/services/v3/coupon/couponsWithPage";

    /**
     * 优惠券兑换接口
     */
    public static final String GAS_USECODE_BY_MOBILEPHONE_URL = "https://mcs.czb365.com/services/v3/coupon/useCodeByMobilePhone";

    /**
     * 订单接口
     */
    public static final String GAS_PLATFORM_ORDERINFO_V2_URL = "https://mcs.czb365.com/services/v3/orderws/platformOrderInfoV2";

    /**
     * 授权码接口
     */
    public static final String GAS_GET_SECRET_CODE_URL = "https://mcs.czb365.com/services/v3/begin/getSecretCode";

    /**
     * H5支付页面链接
     */
    public static final String GAS_H5_PAY_URL = "https://open.czb365.com/redirection/todo/?platformType=PLATFORM_TYPE&authCode=AUTH_CODE&gasId=GAS_ID&gunNo=GUN_NO";

    /**
     * 提现方式：支付宝
     */
    public static final String APP_WITHDRAWAL_ALIPAY = "1";

    /**
     * 提现方式：银行卡
     */
    public static final String APP_WITHDRAWAL_BANKCARD = "2";

    /**
     * 提现方式：微信
     */
    public static final String APP_WITHDRAWAL_WXPAY = "3";

    /**
     * 贡献值奖励：星级会员
     */
    public static final String APP_CONTRIBUTION_MEMBER = "0.1";

    /**
     * 贡献值奖励：VIP
     */
    public static final String APP_CONTRIBUTION_VIP = "1";
}
